home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 7.1
/
2001-04_-_Disc_7.1.iso
/
Data
/
Items.swf
/
scripts
/
DefineButton2_18
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2001-02-01
|
828b
|
20 lines
on(release){
if(_parent.currentTab == 1)
{
_parent.selectItem(7,_parent.demonumber7,_parent.lastButton,"TheCurrentDemo","demos",_parent.demoCount,"currentDemoCount","lastDemoBox");
}
if(_parent.currentTab == 2)
{
_parent.selectItem(7,_parent.extranumber7,_parent.lastButton,"TheCurrentExtra","extras",_parent.extraCount,"currentExtraCount","lastExtraBox");
}
if(_parent.currentTab == 3)
{
_parent.selectItem(7,_parent.filenumber7,_parent.lastButton,"TheCurrentFile","file",_parent.fileCount,"currentFileCount","lastFileBox");
}
if(_parent.currentTab == 4)
{
var i = _parent.gamenumber7 - 1;
_parent.selectItem(7,_parent.arGamesIndexSlice[i],_parent.lastButton,"TheCurrentGame","database",_parent.dbCount,"currentGameCount","lastGameBox");
}
}